<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">

    <title>Login</title>
   <link rel="icon" type="image/x-icon" href="{{STATIC_URL}}favicon.ico">
   <link href="{{STATIC_URL}}css/login.{{CSS_SUFFIX}}" rel="stylesheet" type="text/css" />
    <link href="{{STATIC_URL}}login/css/bootstrap.min.css" rel="stylesheet">
    <link href="{{STATIC_URL}}login/css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="{{STATIC_URL}}login/css/animate.css" rel="stylesheet">
    <link href="{{STATIC_URL}}login/css/style.css" rel="stylesheet">
    <link href="{{STATIC_URL}}login/css/login.css" rel="stylesheet">
    <!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html" />
    <![endif]-->
    <script>
        if (window.top !== window.self) {
            window.top.location = window.location;
        }
    </script>

</head>

<body class="signin">
    <div class="signinpanel">
   
        <div class="row">
            <div class="col-sm-5">
                <div class="signin-info">
			<img height="110" width="155" src="{{STATIC_URL}}img/bkops.png"></img>
                    <div class="m-b"></div>
                    <h4>欢迎使用 <strong>BkOps</strong></h4>
                    <h4>简单、高效、谨慎、责任</h4>
                    <ul class="m-b">
                        <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> 基于蓝鲸自主式开发平台开发</li>
                        <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> 基本的企业资产管理系统</li>
                        <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> 基于SaltApi的配置管理</li>
                        <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> 基于ZabbixApi的监控管理</li>
                        <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> 基于GitServer的版本控制</li>
                        <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> 随时随地管理维护服务器</li>
                        <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i><a href=""> More...</a></li>

                    </ul>
                </div>
            </div>
            
            <div class="col-sm-6">
 <form action="{{ app_path }}" method="post" id="login-form" onsubmit="return refresh_token()">{% csrf_token %}
                    <h4 class="no-margins">登录：</h4>
                        <input id="id_username" maxlength="254" name="username" type="text" class="form-control pword m-b" placeholder="用户名"/>
                        <input id="id_password" name="password" type="password" class="form-control pword m-b" placeholder="密码"/>
                    	<a href="">忘记密码了？</a>
			            <button class="btn btn-primary btn-block">登入</button>
                        <input type="hidden" name="next" value="{{ next }}" />
                        <input type="hidden" name="app_id" value="{{app_id}}">
                        {% if form.errors or form.non_field_errors %}
                            <p class="login_error_tips"><i class="icon icon_error"></i>用户名密码错误</p>
                        {% endif %}
                    </form>
    <!--            <form method="post" action="index.html">
                    <h4 class="no-margins">登录：</h4>
                    <input type="text" class="form-control uname" placeholder="用户名" />
                    <input type="password" class="form-control pword m-b" placeholder="密码" />
                    <a href="">忘记密码了？</a>
                    <button class="btn btn-success btn-block">登录</button>
                </form> -->
            </div>
            
        </div>
       
        <div class="signup-footer">
        <strong>还没有账号？ <a href="#">请联系管理员&raquo;</a></strong><a href="tencent://message/?uin=2399447849$Site=&amp;Menu=yes" title=""><img border="0" src="http://wpa.qq.com/pa?p=2:471166308:51" alt="点击这里给我发消息" title="点击这里给我发消息"></a><br>
            <div class="pull-right">
                &copy; 2017 All Rights Reserved <a href="http://blog.sctux.com/" target="_blank">运维人</a>
            </div>
        </div>
    </div>
</body>

</html>
